package cn.csg.iotplatform.module.system.api.permission.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Set;

/**
 * @author Mr.Z
 * @description: [分区领域权限] dto
 * @date 2024/3/28 15:52
 * @version: v2.0
 */
@Data
public class UserZoneDomainDto {

    @NotNull(message = "用户id不能为空")
    private Long userId;

    @Schema(description = "分区list")
    private Set<String> zones;

    @Schema(description = "领域list")
    private Set<String> domains;

}
